package com.ytwl.service;

import com.ytwl.mapper.UserMapper;
import com.ytwl.bean.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;
    public User getUserByAccount(String account) {
        return userMapper.getUserByAccount(account);
    }
}
